<template>
  <div>
    <el-tabs v-model="activeName">
      <el-tab-pane label="圆柱齿轮" name="first"/>
<!--      <el-tab-pane label="圆锥齿轮" name="second"/>-->
<!--      <el-tab-pane label="涡轮齿轮" name="third"/>-->
    </el-tabs>
    <spur-gear v-if="activeName==='first'"/>
  </div>
</template>

<script>
import SpurGear from "./SpurGear.vue";
export default {
  name: "GearDesign",
  components: {
    'spur-gear': SpurGear,
  },
  data() {
    return {
      activeName: 'first'
    };
  },
  watch: {
    'activeName'() {
      console.log(this.activeName);
    }
  }
};
</script>

<style scoped>

</style>